<template>
  <div>
    <Button type="primary" class="button-margin" size="small" @click="add">新增</Button>
    <Button type="primary" class="button-margin" size="small" @click="refresh">刷新</Button>
    <Button type="primary" class="button-margin" size="small" @click="exportData">导出</Button>

  </div>

</template>

<script>
export default {
  name: 'TableButton',
  methods: {
    add() {
      this.$emit('add')
    },
    refresh() {
      this.$emit('refresh')
    },
    exportData() {
      this.$emit('exportData')
    }
  }
}
</script>

<style scoped>

</style>
